package mya.mes.mdc.queries.sys;

import mya.common.jpa.context.ServiceContext;
import mya.common.jpa.exceptions.QueryException;
import mya.mes.mdc.model.mdc.MdcTagDef;
import mya.mes.mdc.model.system.RegularReminders;
import mya.mes.mdc.model.system.TagType;

import java.util.List;

public class SysQuery {

    public static List<RegularReminders> queryAll(ServiceContext context) throws QueryException {

        List<RegularReminders> list = context.em.createNamedQuery("RegularReminders.queryAll", RegularReminders.class).getResultList();
        return list;
    }

}
